package edu01;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Edu03 extends Edu01 {
	public int a;

	public void setA(){
		Edu03 a = new Edu03();
	}
	
	public void setEduor(Edu03 eud03){
		
	}
	public static void main(String[] args){
		/*
		List<FreeBoard> fbList = new ArrayList<FreeBoard>();
		
		for(int i=0;i<2;i++){
			FreeBoard fb = new FreeBoard();
			fb.setSubject("subject" + i);
			fb.setContent("content" + i);
			fb.setName("name" + i);
			fb.setInsertDate("date" + i);
			fbList.add(fb);
		}
		
		for(FreeBoard fb : fbList){
			System.out.println("subject : " + fb.getSubject());
			System.out.println("content : " + fb.getContent());
			System.out.println("name : " + fb.getName());
			System.out.println("date : " + fb.getInsertDate());
			System.out.println();
		}
		*/
		
		List<String> sList = new ArrayList<String>();
		
		sList.add("난 첫번째 스트링 객체임");
		String str = sList.get(0);
		System.out.println(str);
		
		Map<Integer, BigDecimal> sMap = new HashMap<Integer, BigDecimal>();
		
		sMap.put(1, new BigDecimal("0"));
		BigDecimal bd =sMap.get(1);
		
		
	}
}
